#ifndef __SHADER_H__
#define __SHADER_H__
#include <stdio.h>
#include <glad/glad.h>
#define BUFFSIZE 102400

void read_src(const char *path, void const *buf);
void compileShader(unsigned int *shader, char const *path, int flag);
void linkProgram(unsigned int *program, unsigned int *vs, unsigned int *fs);

#endif
